/**
 *Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.api.bean.query;

import com.koron.common.bean.query.BaseQueryBean;

public class RelationQueryBean extends BaseQueryBean{
	
	/**
	 * 用户账号
	 */
	private String userAccount;
	
	/**
	 * 关系 (1发起 2办理 4认领 8回复)
	 */
	private Integer relation;
	
	/** 
	 * 状态 (0未操作 1已操作)
	 */
	private Integer status;
	
	/**
	 * 流程实例ID
	 */
	private String processInstanceId;
	
	/**
	 * 任务ID
	 */
	private String taskId;
	
	public RelationQueryBean() {
		
	}
	
	public RelationQueryBean(String taskId, Integer status, String processInstanceId) {
		this.status = status;
		this.processInstanceId = processInstanceId;
		this.taskId = taskId;
	}

	public RelationQueryBean(String userAccount, String taskId, Integer relation, String processInstanceId) {
		this.userAccount = userAccount;
		this.relation = relation;
		this.processInstanceId = processInstanceId;
		this.taskId = taskId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public Integer getRelation() {
		return relation;
	}

	public Integer getStatus() {
		return status;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public void setRelation(Integer relation) {
		this.relation = relation;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	
}
